package com.cll.prototype.common.email.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author CLL
 * @since 2020-10-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SendEmailLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 发件人
     */
    private String sender;

    /**
     * 收件人
     */
    private String receiver;

    /**
     * 邮件标题
     */
    private String subject;

    /**
     * 发送内容
     */
    private String content;

    /**
     * 1.文本；2.html；3.图片；4.附件；5.模板
     */
    private Integer type;

    /**
     * 发送时间
     */
    private LocalDateTime gmtCreate;

    /**
     * 发送结果
     */
    private Integer result;


}
